import { myRequest } from "../utils/request";

/**
 *
 */
export const putSave = (data) => {
  return myRequest({
    url: `Need/save`,
    data,
  });
};

/**
 *列表
 */
export const indexTree = (data) => {
  return myRequest({
    url: `SysVocation/indexTree`,
    data,
  });
};

/**
 *列表
 */
export const getId = (data) => {
  return myRequest({
    url: `Need/read`,
    data,
  });
};

/**
 *状态列表
 */
export const getStage = (data) => {
  return myRequest({
    url: `/Need/indexStage`,
    data,
  });
};
